<?php
include 'lanewechat.php';

/**
 * 自定义菜单
 */
//设置菜单
$menuList = array(
    array(
        'id'=>'1',
        'pid'=>'0',
        'name'=>'摇一摇',
        'type'=>'view',
        'code'=>'http://643713.ichengyun.net/LaneWeChat/shake.php'),
);
$r = \LaneWeChat\Core\Menu::setMenu($menuList);
var_dump( $r );
